package com.crud.service;

import com.crud.entity.User;

import java.util.List;

/**
 * @author hyh
 * @date 2023/06/28 18:43:51
 */
public interface UserService {
  User save(User user);
  int delete(Integer id);

  List<User> findAll();

  int update(User user);
}
